<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:tt="https://code.google.com/p/rad-framework"
	xmlns:t="https://code.google.com/p/rad-framework/taglib"
	xmlns:s="http://jboss.com/products/seam/taglib">

	<c:if test="#{t:rendered(entity,id)}">
		<h:outputLabel value="#{label}"
			styleClass="rad-framework-form-label"/>
		
		<tt:reference-link 
			id="#{id}"
			value="#{value}" 
			type="#{type}"
			key="#{key}"			
			reference="#{reference}" />
	</c:if>

</ui:composition>